Skip to content

Anisotropic 2D Ising model#184

Merged
VictorVanthilt merged 6 commits into
QuantumKitHub:masterfrom
Yue-Zhengyuan:anisotropic-ising
Jun 8, 2026
Merged

Anisotropic 2D Ising model#184
VictorVanthilt merged 6 commits into
QuantumKitHub:masterfrom
Yue-Zhengyuan:anisotropic-ising

Conversation

@Yue-Zhengyuan

@Yue-Zhengyuan Yue-Zhengyuan commented Jun 7, 2026

Copy link
Copy Markdown
Member

This PR adds the anisotropic version of the classical 2D Ising model. The coupling Jx for x-bonds and Jy for y-bonds can be different.

@dartsushi and @GlebFedorovich noticed that current CFT data calculation does not work for the anisotropic case, because it implicitly assumes that the space-time patch covered by one tensor is square (modular parameter is i). As a result, the central charge and scaling dimensions show a period-4 oscillation.

In general, the modular parameter should be extracted from several different 2 x 2 transfer matrices with different orientations (horizontal, vertical and two diagonals; see Appendix 2 of https://arxiv.org/abs/0903.1069). Thus this model can serve as the benchmark for non-square modular parameters.

@codecov

codecov Bot commented Jun 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.59459% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/models/ising.jl 94.59% 2 Missing ⚠️
Files with missing lines Coverage Δ
src/models/ising.jl 97.24% <94.59%> (-2.76%) ⬇️

... and 24 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Yue-Zhengyuan Yue-Zhengyuan marked this pull request as ready for review June 7, 2026 03:55
@VictorVanthilt

Copy link
Copy Markdown
Member

Thanks for this addition. How do you want to proceed on getting the cft data calculation to work with anisotropic networks?

@VictorVanthilt VictorVanthilt enabled auto-merge (squash) June 8, 2026 07:24
@VictorVanthilt VictorVanthilt merged commit fa03f3f into QuantumKitHub:master Jun 8, 2026
29 checks passed
@Yue-Zhengyuan

Copy link
Copy Markdown
Member Author

I'm currently doing some tests, and hopefully a new PR on that is coming soon.

@Yue-Zhengyuan Yue-Zhengyuan deleted the anisotropic-ising branch June 8, 2026 08:11
@VictorVanthilt VictorVanthilt mentioned this pull request Jun 9, 2026
VictorVanthilt referenced this pull request Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants